package com.egao.orderB.service;

import com.egao.common.core.damon.results.PageResult2;
import com.egao.common.core.web.JsonResult;
import com.egao.common.system.entity.User;
import com.egao.orderB.entity.PutStorage;
import com.egao.orderB.entity.PutStorageAndInfo;
import net.sf.json.JSONObject;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;
import java.util.Map;

/**
 * 入库信息服务类
 * @author : Doman
 * @date : 2021-12-23 15:43:48
 * @version ：1.0
 */
public interface PutStorageService /*extends IService<PutStorage>*/ {

  /**
	 * 分页查询
	 * @param page
	 * @param putStorage
	 * @return
	 */
	public JsonResult list(PageResult2<T> page, PutStorage putStorage, User loginUser) throws Exception;

  /**
	 * 分页查询
	 * @param page
	 * @return
	 */
	public JsonResult list13(PageResult2<T> page, PutStorageAndInfo putStorageAndInfo, User loginUser) throws Exception;

	/**
	 * 获取list
	 * @param putStorage
	 * @return
	 */
	public JsonResult list(PutStorage putStorage, User loginUser);

	/**
	 * 获取list
	 * @param putStorage
	 * @return
	 */
	public JsonResult listVolume(PutStorage putStorage, User loginUser);

	/**
	 * 获取list
	 * @param putStorage
	 * @return
	 */
	public JsonResult listMonth(PutStorage putStorage, User loginUser);

	/**
	 * 根据Id查询
	 * @param putStorage
	 * @return
	 */
	public JsonResult getById(PutStorage putStorage);

	/**
	 * 根据Id查询
	 * @param putStorageAndInfo
	 * @return
	 */
	public JsonResult get13(PutStorageAndInfo putStorageAndInfo);

	/**
	 * 保存
	 * @param putStorage
	 * @param loginUser
	 * @return
	 */
	public JsonResult saveStorage(String putStorage, String putGoodsList, String putInfo, User loginUser);

	/**
	 * 保存
	 * @param putStorage
	 * @param loginUser
	 * @return
	 */
	public JsonResult updateStorage13(String putStorage, String putInfo, User loginUser);

	/**
	 * 保存
	 * @param putStorage
	 * @param loginUser
	 * @return
	 */
	public JsonResult save(PutStorage putStorage, User loginUser);

	/**
	 * 修改
	 * @param putStorage
	 * @param loginUser
	 * @return
	 */
	public JsonResult update(PutStorage putStorage, User loginUser);

	/**
	 * 删除
	 * @param putStorage
	 * @param loginUser
	 * @return
	 */
	public JsonResult remove(PutStorage putStorage, User loginUser);
}
